package com.hps.user.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author heps
 * @date 2019/8/25 16:31
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping
    public Map<String, Object> find() {
        Map<String, Object> result = new HashMap<>();
        result.put("name", "Heps");
        return result;
    }
}
